@import '../../../index.scss';

.container {

  .chatList {
    display: flex;
    flex-direction: column;
    padding: 0 10rpx;
    .item {
      display: flex;
      align-items: center;
      padding: 20rpx 0;
      border-bottom: 1px solid #f8f8f8;
      height: 96rpx;

      .avatar {
        height: 96rpx;
        width: 96rpx;
        overflow: hidden;
        border-radius: 100%;
        margin-right: 20rpx;
        margin-left: 20rpx;

        image {
          width: 100%;
          height: 100%;
        }
      }

      .message {
        height: 100%;
        display: flex;
        flex-direction: column;
        flex: 1;
        justify-content: space-around;

        .name {
          font-size: 32rpx;
          font-weight: bold;
          color: #000;
        }

        .desc {
          font-size: 24rpx;
          color: #787878;
        }
      }

      .right {
        padding-right: 20rpx;
        display: flex;
        justify-content: space-around;
        flex-direction: column;
        height: 90%;

        .time {
          font-size: 20rpx;
          color: #999;

        }

        .status {
          border-radius: 100%;
          // background-color: red;
          margin-left: auto;
          margin-right: 6rpx;
        background-color: #f03e3e;
          width: 34rpx;
          height: 34rpx;
          font-size: 20rpx;
          display: flex;
          align-items: center;
          justify-content: center;
          color: #fff;
          font-weight: bold;
        }
      }
    }
    .item-delete{
      background-color: red;
      width: 70px;
      
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 28rpx;
    }
  }
  .noData {
    text-align: center;
    position: fixed;
    top: 35%;
    width: 100%;

    image {
      width: 20%;
    }

    .tip {

      color: #888;
      font-size: 26rpx;
      margin-top: 20rpx;
    }
  }
}